package com.castle.fortress.admin.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * cms通用配置表 实体类
 *
 * @author castle
 * @since 2022-02-18
 */
@Data
@TableName("cms_config")
public class CmsConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 配置名称
	*/
	private String name;
	/**
	 * 标签名称
	*/
	private String tagName;
	/**
	 * 选值类型
	*/
	private String valueType;
	/**
	 * 选值范围
	*/
	private String tagValues;
	/**
	 * 修改人
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long updateUser;
	/**
	 * 修改时间
	*/
	private Date updateTime;
	/**
	 * 标签分组
	*/
	private String tagGroup;
	/**
	 * 排序
	*/
	private Integer sort;

}
